package cn.dnui_wwt524.dnuifood_16110100524.service;

import java.util.List;

import cn.dnui_wwt524.dnuifood_16110100524.bean.FoodBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface FoodInfoService {

        @GET("getFoodById.do")
        Call<FoodBean> getFoodById(@Query("food_id")String food_id);

        @GET("getAllCommentsByFood.do")
        Call<List<FoodBean>> getAllCommentsByFood(@Query("food_id") String food_id);

}
